﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Globalization;
using Telerik.Web.UI;
using KPIS.GERP.GHRMS.BLL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.APP.Classes;
using _WebShared.Classes;

namespace KPIS.GERP.GHRMS.APP.App_UI.UserControls
{
    public partial class PS_EmployeeEducationHistories : System.Web.UI.UserControl
    {
        private SsMng ssMng = new SsMng();
        private IHisEducationBLL eduBLL = new HisEducationBLL();
        Main main = new Main();

        protected void Page_Load(object sender, EventArgs e)
        {
            LoadGrid();
        }

        public void LoadGrid()
        {
            //if (Session["EmpSeq"] == null)
            //    return;

            //string strEmpSeq = ssMng.EmpSeq;

            //if (strEmpSeq.Length == 0)
            //    return;

            //RadGrid1.DataSource = edu.LoadGridEmployeeEducations(strEmpSeq);
            //RadGrid1.DataBind();
        }

        protected void RadGrid_ItemCommand(object source, GridCommandEventArgs e)
        {
            if (e.CommandName != RadGrid.ExpandCollapseCommandName)
            {
                RadGrid1.DataBind();
            }
        }
    }
}